package cn.javass.dp.signleton.example1;


/**
 * 饿汉式 静态常量
 */
public class Signleton1 {

    private Signleton1() {}

    private static Signleton1 signleton = new Signleton1();

    public Signleton1 getInstance() {
        return this.signleton;
    }
}
